package ma.platform.server.student.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ma.platform.server.student.dto.StudentDto;
import ma.platform.server.student.dto.TbStudentDto;
import ma.platform.server.student.entity.TbStudent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import ma.platform.server.student.req.QueryStudentReq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【tb_student(学生信息表)】的数据库操作Mapper
* @createDate 2024-08-27 17:01:05
* @Entity ma.platform.server.student.entity.TbStudent
*/
public interface TbStudentMapper extends BaseMapper<TbStudent> {

    Page<TbStudentDto> selectPageList(@Param("page") Page page,@Param("req") QueryStudentReq req);

    void removeBind(@Param("id")Long id);

    List<StudentDto> selectStudentWash();

    List<TbStudent> selectStudent(Long id);

    Long selectSchoolId(@Param("studentId") Long studentId);

}




